package com.king.sqlSession;

import com.king.pojo.Configuration;
import com.king.pojo.MapperStatement;

import java.beans.IntrospectionException;
import java.sql.SQLException;
import java.util.List;

/**
 * @ClassName: Executor
 * @Description: TODO
 * @Author: wangchangyong
 * @Date: 2020/3/26 21:48
 * @Version: 1.0.0
 **/
public interface Executor {

    public <E> List<E> query(Configuration configuration, MapperStatement statement,Object... params) throws Exception;

    public int update(Configuration configuration, MapperStatement statement,Object... params) throws Exception;

}
